import { getTranslations, setRequestLocale } from "next-intl/server"; import { Suspense } from "react"; import VerifyEmailForm from "./verify-email-form"; interface VerifyEmailPageProps { params: Promise<{ locale: string }>; } export async function generateMetadata({ params }: VerifyEmailPageProps) { const { locale } = await params; const t = await getTranslations({ locale, namespace: "auth.verifyEmail" }); return { title: t('pageTitle'), }; } export default async function VerifyEmailPage({ params }: VerifyEmailPageProps) { const { locale } = await params; // Enable static rendering setRequestLocale(locale); return (

Loading...

}>
); }